package entity

type AiConsultStatics struct {
    Id         int64  `gorm:"column:id;primary_key" json:"id"`
    UserId     string `gorm:"column:user_id;type:varchar(255);not null" json:"user_id"`
    Level      int    `gorm:"column:level;type:integer;not null" json:"level"`
    Module     int    `gorm:"column:module;type:integer;not null" json:"module"`
    Count      int    `gorm:"column:count;type:integer;not null" json:"count"`
    TotalScore int64  `gorm:"column:total_score;type:bigint;not null" json:"total_score"`
    MaxScore   int64  `gorm:"column:max_score;type:bigint;not null" json:"max_score"`
    MinScore   int64  `gorm:"column:min_score;type:bigint;not null" json:"min_score"`
    CreatedAt  int64  `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
    UpdatedAt  int64  `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"`
}

func (a *AiConsultStatics) TableName() string {
    return "ai_consult_statics"
}
